package cn.com.connected.service;

import cn.com.connected.base.params.page.BaseSearchDto;
import cn.com.connected.base.params.page.PageResult;
import cn.com.connected.common.emnus.MsgType;
import cn.com.connected.dto.search.SysMessageSearchDto;
import cn.com.connected.vo.SysMessageVo;

import java.util.List;

/**
 * 
 *
 * @author sms
 * @email sms@live.com
 * @date 2022-10-22 09:37:51
 */
public interface SysMessageService{

    SysMessageVo sysMessageAdd(String content,String memberId, String relId, MsgType msgType);

    void setReadStatus(List<String> ids);

    SysMessageVo sysMessageInfo(String id);

    Long unreadCount();

    void sysMessageDel(String id);

    PageResult<SysMessageVo> sysMessagePage(BaseSearchDto<SysMessageSearchDto> searchParams);

}

